package com.csun.cmny.provider.model.dto.followUp;

import com.csun.cmny.base.dto.BaseQuery;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class FollowUpSelectDto extends BaseQuery {

    /*名字*/
    private String name;

    /*咨询意向 0-准备入住 1-预定床位 2-了解情况*/
    private String intention;



    /**
     * 状态 0-回访
     */
    private Integer state;

    /*回访日期-开启时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date returnDateStart;

    /*回访日期-结束时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date returnDateEnd;

    /*跟进日期-开始时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date followUpDateStart;

    /*跟进日期-结束时间*/
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date followUpDateEnd;
}
